export default {
  mdctrlActiveMode: 2,
  xdataControlName: 'map',
  loadDefault: true,
  deviewCodeName: 'map_built_in_nav',
  deviewId: '13f6b913f9e88e430a829aa5636326be',
  appWFId: 'workflow',
  accUserMode: 3,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '地图_内置导航',
  codeName: 'master_map_built_in_nav',
  appDataEntityId: 'web.master',
  appViewMsgGroupId: 'map_built_in_nav',
  viewLayoutPanel: {
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    caption: '页面标题',
                    itemStyle: 'DEFAULT',
                    itemType: 'CTRLPOS',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'captionbar',
                  },
                ],
                layout: {
                  align: 'center',
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  heightMode: 'FULL',
                  layout: 'FLEX',
                },
                id: 'view_captionbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              heightMode: 'FULL',
              layout: 'FLEX',
            },
            id: 'view_header_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    caption: '工具栏',
                    itemStyle: 'DEFAULT',
                    itemType: 'CTRLPOS',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'toolbar',
                  },
                ],
                layout: {
                  align: 'center',
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  heightMode: 'FULL',
                  layout: 'FLEX',
                },
                id: 'view_toolbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              heightMode: 'FULL',
              layout: 'FLEX',
            },
            id: 'view_header_right',
          },
        ],
        predefinedType: 'VIEWHEADER',
        layout: {
          align: 'space-between',
          dir: 'row',
          layout: 'FLEX',
          valign: 'center',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 0,
          layout: 'FLEX',
        },
        id: 'view_header',
      },
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            caption: '搜索表单',
            itemStyle: 'DEFAULT',
            itemType: 'CTRLPOS',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            showCaption: true,
            id: 'searchform',
          },
        ],
        layout: {
          dir: 'column',
          layout: 'FLEX',
        },
        dataRegionType: 'INHERIT',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 0,
          layout: 'FLEX',
        },
        id: 'view_searchform',
      },
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    actionGroupExtractMode: 'ITEM',
                    panelItems: [
                      {
                        caption: '地图占位',
                        itemStyle: 'DEFAULT',
                        itemType: 'CTRLPOS',
                        layoutPos: {
                          grow: 1,
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        showCaption: true,
                        id: 'map',
                      },
                    ],
                    predefinedType: 'VIEWCONTENT',
                    layout: {
                      layout: 'FLEX',
                    },
                    dataRegionType: 'INHERIT',
                    caption: '容器',
                    itemStyle: 'DEFAULT',
                    itemType: 'CONTAINER',
                    layoutPos: {
                      grow: 1,
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    id: 'view_content',
                  },
                ],
                predefinedType: 'CONTAINER_GROUP',
                layout: {
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '内置导航_右侧',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  layoutPos: 'CENTER',
                  layout: 'BORDER',
                },
                showCaption: true,
                id: 'container_group',
              },
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    actionGroupExtractMode: 'ITEM',
                    panelItems: [
                      {
                        caption: '地图',
                        itemStyle: 'DEFAULT',
                        itemType: 'CTRLPOS',
                        layoutPos: {
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        showCaption: true,
                        id: 'map1',
                      },
                    ],
                    layout: {
                      layout: 'FLEX',
                    },
                    dataRegionType: 'INHERIT',
                    caption: '容器',
                    itemStyle: 'DEFAULT',
                    itemType: 'CONTAINER',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    id: 'container',
                  },
                ],
                predefinedType: 'CONTAINER_GROUP',
                layout: {
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '内置导航_下方',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  layoutPos: 'CENTER',
                  layout: 'BORDER',
                },
                showCaption: true,
                id: 'container_group1',
              },
            ],
            predefinedType: 'CONTAINER_SCROLL_MAIN',
            layout: {
              layout: 'BORDER',
            },
            dataRegionType: 'INHERIT',
            caption: '面板容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              layoutPos: 'CENTER',
              layout: 'BORDER',
            },
            showCaption: true,
            id: 'container_scroll_main',
          },
        ],
        predefinedType: 'CONTAINER_SCROLL',
        layout: {
          layout: 'BORDER',
        },
        dataRegionType: 'INHERIT',
        caption: '滚动条容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'container_scroll',
      },
    ],
    layoutPanel: true,
    appViewLogics: [
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          actionAfterWizard: 'DEFAULT',
          newDataAppView: {
            openMode: 'POPUPMODAL',
            refAppViewId: 'web.master_edit_view',
          },
          appUILogicRefViews: [
            {
              openMode: 'POPUPMODAL',
              refAppViewId: 'web.master_edit_view',
            },
          ],
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_NEWDATA',
          id: '新建数据',
        },
        builtinLogic: true,
        id: 'newdata',
      },
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          openDataAppView: {
            openMode: 'POPUPMODAL',
            refAppViewId: 'web.master_edit_view',
          },
          editMode: true,
          appUILogicRefViews: [
            {
              openMode: 'POPUPMODAL',
              refAppViewId: 'web.master_edit_view',
            },
          ],
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_OPENDATA',
          id: '打开数据',
        },
        builtinLogic: true,
        id: 'opendata',
      },
    ],
    appViewRefs: [
      {
        realOpenMode: 'POPUPMODAL',
        realTitle: '主数据编辑视图',
        refAppViewId: 'web.master_edit_view',
        name: 'NEWDATA',
        id: 'newdata',
      },
      {
        realOpenMode: 'POPUPMODAL',
        realTitle: '主数据编辑视图',
        refAppViewId: 'web.master_edit_view',
        name: 'EDITDATA',
        id: 'editdata',
      },
    ],
    controls: [
      {
        legendPos: 'RIGHT',
        mapStyle: 'USER',
        sysMapItems: [
          {
            customCond:
              "{'SRFNAVPARAM.n_parent_id_eq': context.srfareacode===100000?'86':`${context.srfareacode}`}",
            dataAppDEFieldId: 'level',
            idAppDEFieldId: 'id',
            itemStyle: 'REGION',
            itemType: 'area',
            latitudeAppDEFieldId: 'code',
            longitudeAppDEFieldId: 'code',
            appDEDataSetId: 'fetch_default',
            appDataEntityId: 'web.region',
            textAppDEFieldId: 'name',
            navAppViewId: 'web.region_info_grid',
            navigateParams: [
              {
                key: 'n_parent_id_eq',
                value: 'srfareacode',
                id: 'n_parent_id_eq',
              },
            ],
            name: '区域',
            id: 'area',
          },
          {
            customCond:
              "{'SRFNAVPARAM.n_parent_id_eq': context.srfareacode===100000?'86':`${context.srfareacode}`}",
            idAppDEFieldId: 'id',
            itemStyle: 'POINT',
            itemType: 'point',
            latitudeAppDEFieldId: 'latitude',
            longitudeAppDEFieldId: 'longitude',
            appDEDataSetId: 'fetch_default',
            appDataEntityId: 'web.region',
            textAppDEFieldId: 'name',
            navAppViewId: 'web.region_info_view',
            name: '点',
            id: 'point',
          },
        ],
        navViewHeight: 600,
        navViewPos: 'RIGHT',
        navViewWidth: 600,
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'map_built_in_nav_map_view',
        controlType: 'MAP',
        height: 600,
        logicName: '地图_内置导航_右侧',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'map',
        },
        modelId: '1cb348f68e9c589ae2d8f9f970a22511',
        modelType: 'PSSYSMAPVIEW',
        name: 'map',
        id: 'web.master.map_built_in_nav_map_view',
      },
      {
        legendPos: 'RIGHT',
        mapStyle: 'USER',
        sysMapItems: [
          {
            customCond:
              "{'SRFNAVPARAM.n_parent_id_eq': context.srfareacode===100000?'86':`${context.srfareacode}`}",
            idAppDEFieldId: 'id',
            itemStyle: 'POINT',
            itemType: 'region',
            latitudeAppDEFieldId: 'latitude',
            longitudeAppDEFieldId: 'longitude',
            appDEDataSetId: 'fetch_default',
            appDataEntityId: 'web.region',
            textAppDEFieldId: 'name',
            navAppViewId: 'web.region_info_view',
            id: 'region',
          },
          {
            customCond:
              "{'SRFNAVPARAM.n_parent_id_eq': context.srfareacode===100000?'86':`${context.srfareacode}`}",
            dataAppDEFieldId: 'level',
            idAppDEFieldId: 'id',
            itemStyle: 'REGION',
            itemType: 'area',
            latitudeAppDEFieldId: 'code',
            longitudeAppDEFieldId: 'code',
            appDEDataSetId: 'fetch_default',
            appDataEntityId: 'web.region',
            textAppDEFieldId: 'name',
            navAppViewId: 'web.region_info_grid',
            navigateParams: [
              {
                key: 'n_parent_id_eq',
                value: 'srfareacode',
                id: 'n_parent_id_eq',
              },
            ],
            name: '区域',
            id: 'area',
          },
        ],
        navViewHeight: 600,
        navViewPos: 'BOTTOM',
        navViewWidth: 600,
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'map_base_map_view',
        controlType: 'MAP',
        height: 600,
        logicName: '地图_内置导航_下方',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'map1',
        },
        modelId: '062edbe9ef559f97453a9004a7564317',
        modelType: 'PSSYSMAPVIEW',
        name: 'map1',
        id: 'web.master.map_base_map_view',
      },
      {
        groupMode: 'SINGLE',
        controlType: 'SEARCHBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'searchbar',
        },
        id: 'searchbar',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '地图_内置导航',
        codeName: 'map_built_in_nav_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'map_built_in_nav_captionbar',
      },
    ],
    codeName: 'usr0516282449',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'map_built_in_nav地图视图布局',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: '40f825775c71694abfc515cafda12445',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'usr0516282449',
  },
  title: '地图_内置导航',
  viewStyle: 'DEFAULT',
  viewType: 'DEMAPVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '4aaaebec3eefdbf4ca9655d3d49fbd54',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERmap_built_in_nav',
  id: 'web.master_map_built_in_nav',
};
